Skip to content

Conversation

@gsong
Copy link
Collaborator

@gsong gsong commented Jul 17, 2025

Summary

  • Reorganized evaluation framework files into dedicated framework/ directory
  • Added comprehensive medical summary use case with PostgreSQL database setup
  • Included compressed sample medical data (patients, encounters, medications, etc.)
  • Generated 100 realistic doctor visit note summaries based on database introspection

Changes

  • Moved all framework documentation and guides to framework/ directory for better organization
  • Added use-cases/medical-summary/ with complete medical records database schema
  • Included Docker Compose setup for easy PostgreSQL deployment
  • Added compressed CSV data files covering all major medical record types
  • Created comprehensive database schema documentation
  • Generated 100 professional medical visit summaries covering diverse encounter types:
    • 20 wellness visits (annual physicals, health maintenance)
    • 20 ambulatory visits (routine outpatient care)
    • 20 outpatient visits (follow-ups, specialist consultations)
    • 18 urgent care visits (minor injuries, acute conditions)
    • 14 emergency visits (trauma, acute conditions)
    • 8 inpatient visits (hospital admissions)
  • Each summary includes realistic patient demographics, diagnoses, medications, procedures, and clinical documentation
  • Multiple visits for same patients showing continuity of care
  • 15 summaries contain detailed medication prescriptions with proper dosing

Test plan

  • Verify Docker Compose setup works: docker-compose up -d
  • Confirm database tables are created successfully
  • Validate sample data loads correctly from compressed CSV files
  • Check that all foreign key relationships are properly established
  • Review database schema documentation for completeness
  • Generate comprehensive medical visit summaries from real database data
  • Verify summaries cover diverse medical scenarios and encounter types

gsong added 2 commits July 17, 2025 09:14
Reorganize all evaluation framework files into a new framework/ directory structure to improve organization and separate framework components from other project files.
- Add comprehensive database schema with 15+ medical data tables
- Include Docker Compose setup for PostgreSQL database
- Add compressed sample CSV data (56MB compressed from 539MB original)
  - 1,164 patients with demographics
  - 61,460 medical encounters
  - 531,145 clinical observations
  - 711,239 claims transactions
  - Additional data for medications, procedures, providers, etc.
- Implement automatic decompression during database initialization
- Include data validation queries and documentation
- Set up complete medical summary evaluation framework

Data is stored compressed to respect GitHub file size limits while
maintaining full functionality through transparent decompression.
@gsong gsong changed the title feat: add medical summary use case and reorganize framework structure feat: add medical summary use case with 100 generated visit notes Jul 17, 2025
@gsong gsong force-pushed the epic/medical-summary branch from b275f8d to db521dc Compare July 17, 2025 21:18
- Generated realistic doctor visit notes based on database introspection
- Covers diverse encounter types: wellness, ambulatory, emergency, inpatient
- Includes patient demographics, diagnoses, medications, and procedures
- Multiple visits for same patients showing continuity of care
- 15 summaries contain medication prescriptions with proper dosing
- Follows standard medical documentation format with proper sections
@gsong gsong force-pushed the epic/medical-summary branch from db521dc to e4365fb Compare July 17, 2025 22:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants